package com.wffz.config.redis;
import lombok.AllArgsConstructor;

/**
 * @Author kqyin
 * @Date 2023/1/9 19:13
 * @Description 延迟队列执行任务枚举
 */
@AllArgsConstructor
public enum RedisDelayQueueEnum {

    TWO_SECOND_CONSUME_QUEUE("two_second_consume_queue", "延迟队列", "twoSecondConsumeHandler");
//    THREE_SECOND_CONSUME_QUEUE("three_second_consume_queue", "3S后消费的延迟队列", "threeSecondConsumeHandler");

    // 队列名
    private String queueName;

    // 描述
    private String desc;

    // 处理类beanId
    private String beanId;

    public String getQueueName() {
        return queueName;
    }

    public String getDesc() {
        return desc;
    }

    public String getBeanId() {
        return beanId;
    }
}
